package com.wwj.core.system.service;

import com.wwj.core.system.entity.User;
import com.github.pagehelper.Page;

/**
 * Created by xya on 16-10-24.
 */
public interface IUserService {

    User findLoginUser(String account) throws Exception;

    Page findUserByPage(int pageNo, int pageSize, String search) throws Exception;

    int createUser(User user) throws Exception;

    int deleteUser(String id) throws Exception;

    int updateUser(User user) throws Exception;

    int updatePwd(User user) throws Exception;
   /* boolean validateEmployeeNo(String employeeNo) throws Exception;*/

    User findUserById(String id) throws Exception;

    boolean checkUserPhone(String phone) throws Exception;

}
